{% extends "base.html" %}
{% block title %}
    学生登陆
{% endblock %}


{% block box %}
    <div class="container">

        <form class="form-signin" method="post">
            {% csrf_token %}
            <h2 class="form-signin-heading">学生成绩查询系统</h2>
            登陆账号
            <input type="text" class="form-control" placeholder="学号或姓名" required autofocus name="username"
                   id="username">
            <span class="text-danger">{{ username_error }}</span>
            <p></p>
            登陆密码
            <input type="password" class="form-control" placeholder="请输入密码" required name="password">
            <span class="text-danger">{{ passoword_error }}</span>
            {#        <div class="checkbox">#}
            {#          <label>#}
            {#            <input type="checkbox" value="remember-me"> Remember me#}
            {#          </label>#}
            {#        </div>#}
            <button class="btn btn-lg btn-primary btn-block" type="submit">登录</button>
            <span style="float: right"><a href="/register">去注册</a></span>
        </form>


    </div> <!-- /container -->
{% endblock %}

